package com.dragonwu.model;

import com.dragonwu.model.entity.SysUser;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 存入redis的对象
 * @author DragonWu
 * @since 2022-10-08 15:49
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class OnlineUser implements Serializable {
    //用户对象
    private SysUser sysUser;
    //用户权限
    private String authorities;
}
